package pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Project entity. @author MyEclipse Persistence Tools
 */

public class Project implements java.io.Serializable {

	// Fields

	private long proId;
	private String proName;
	private String proDesc;
	private Date beginDate;
	private Date endDate;
	private Integer memberNum;
	private String schedule;
	private Set userProjects = new HashSet(0);

	// Constructors

	/** default constructor */
	public Project() {
	}

	/** minimal constructor */
	public Project(String proName) {
		this.proName = proName;
	}

	/** full constructor */
	public Project(String proName, String proDesc, Date beginDate,
			Date endDate, Integer memberNum, String schedule, Set userProjects) {
		this.proName = proName;
		this.proDesc = proDesc;
		this.beginDate = beginDate;
		this.endDate = endDate;
		this.memberNum = memberNum;
		this.schedule = schedule;
		this.userProjects = userProjects;
	}

	// Property accessors

	public long getProId() {
		return this.proId;
	}

	public void setProId(long proId) {
		this.proId = proId;
	}

	public String getProName() {
		return this.proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public String getProDesc() {
		return this.proDesc;
	}

	public void setProDesc(String proDesc) {
		this.proDesc = proDesc;
	}

	public Date getBeginDate() {
		return this.beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getMemberNum() {
		return this.memberNum;
	}

	public void setMemberNum(Integer memberNum) {
		this.memberNum = memberNum;
	}

	public String getSchedule() {
		return this.schedule;
	}

	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}

	public Set getUserProjects() {
		return this.userProjects;
	}

	public void setUserProjects(Set userProjects) {
		this.userProjects = userProjects;
	}

}